package com.ys.erp.entity.data.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lwj
 * @date 2025/5/29
 */
    
@Data
@TableName(value = "t_pulse_setting")
public class PulseSetting {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 每幺币
     */
    @TableField(value = "ys_money")
    private Integer ysMoney;

    /**
     * 多少幺豆
     */
    @TableField(value = "ys_pulse")
    private Integer ysPulse;

    @TableField(value = "use_ratio")
    private String useRatio;

    /**
     * 员工id
     */
    @TableField(value = "emp_id")
    private Long empId;

    /**
     * 员工名字
     */
    @TableField(value = "emp_name")
    private String empName;

    @TableField(value = "version")
    @Version
    private Integer version;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "update_time", update = "now()")
    private LocalDateTime updateTime;
}